.status-bar {
  background: rgba(15, 20, 60, 0.8) !important;
  border: 1px solid rgba(79, 195, 247, 0.3) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.status-bar .ant-card-head {
  border-bottom: 1px solid rgba(79, 195, 247, 0.2) !important;
  min-height: 36px;
}

.status-bar .ant-card-head-title {
  color: #4fc3f7 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 36px;
}

.status-bar .ant-card-body {
  padding: 12px 16px;
}

.status-bar .status-item {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.status-bar .status-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(79, 195, 247, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(79, 195, 247, 0.2);
}

.status-bar .status-item .anticon {
  font-size: 16px;
  margin-right: 8px;
}

.status-bar .performance-indicators {
  margin-top: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-bar .indicator-item {
  text-align: center;
}

.status-bar .indicator-item .ant-progress {
  margin-top: 4px;
}

.status-bar .indicator-item .ant-progress-line {
  height: 6px;
}

.status-bar .time-info {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-bar .time-info .anticon {
  margin-right: 4px;
}

/* 状态指示器动画 */
.status-bar .status-item .anticon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* 连接状态特殊样式 */
.status-bar .status-item.connected {
  border-color: rgba(82, 196, 26, 0.3);
  background: rgba(82, 196, 26, 0.05);
}

.status-bar .status-item.disconnected {
  border-color: rgba(245, 34, 45, 0.3);
  background: rgba(245, 34, 45, 0.05);
}

.status-bar .status-item.connecting {
  border-color: rgba(24, 144, 255, 0.3);
  background: rgba(24, 144, 255, 0.05);
}

/* 性能等级颜色 */
.status-bar .performance-excellent {
  color: #52c41a;
}

.status-bar .performance-good {
  color: #1890ff;
}

.status-bar .performance-fair {
  color: #faad14;
}

.status-bar .performance-poor {
  color: #f5222d;
}

/* 进度条样式覆盖 */
.status-bar .ant-progress-bg {
  border-radius: 3px !important;
}

.status-bar .ant-progress-outer {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 3px !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .status-bar .ant-card-body {
    padding: 8px 12px;
  }
  
  .status-bar .status-item {
    padding: 6px 8px;
    margin-bottom: 8px;
  }
  
  .status-bar .status-item .anticon {
    font-size: 14px;
    margin-right: 6px;
  }
  
  .status-bar .performance-indicators {
    margin-top: 8px;
    padding: 8px;
  }
  
  .status-bar .time-info {
    margin-top: 6px;
    padding: 6px 8px;
  }
  
  .status-bar .ant-card-head-title {
    font-size: 12px !important;
  }
}

@media (max-width: 480px) {
  .status-bar .ant-card-body {
    padding: 6px 8px;
  }
  
  .status-bar .status-item {
    padding: 4px 6px;
    margin-bottom: 6px;
  }
  
  .status-bar .status-item .anticon {
    font-size: 12px;
    margin-right: 4px;
  }
  
  .status-bar .performance-indicators {
    margin-top: 6px;
    padding: 6px;
  }
  
  .status-bar .time-info {
    margin-top: 4px;
    padding: 4px 6px;
  }
  
  .status-bar .indicator-item {
    margin-bottom: 4px;
  }
  
  .status-bar .ant-card-head {
    min-height: 32px;
  }
  
  .status-bar .ant-card-head-title {
    font-size: 11px !important;
    line-height: 32px;
  }
}

/* 数值显示样式 */
.status-bar .status-value {
  font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* 图标旋转动画（用于连接状态） */
.status-bar .status-item.connecting .anticon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 悬停效果增强 */
.status-bar .status-item:hover .anticon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* 状态文本样式 */
.status-bar .status-text {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.status-bar .status-label {
  font-size: 11px;
  color: #999;
  display: block;
  margin-bottom: 2px;
}

/* 分隔线样式 */
.status-bar .status-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.3), transparent);
  margin: 8px 0;
}

/* 闪烁效果（用于重要状态） */
.status-bar .status-item.alert {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0.5;
  }
}

/* 渐变背景效果 */
.status-bar .status-item.gradient {
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1), rgba(79, 195, 247, 0.05));
}

/* 工具提示样式 */
.status-bar [title] {
  cursor: help;
}
